package cn.consult.sys.vo.SiteTree;

import cn.consult.sys.entity.TPlaceFloor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * 楼栋
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SiteTreeVo {

    //ID主键
    private Long id;

    private String name;
    //楼栋名称
    private String buildingName;
    //楼栋层数
    private Integer buildingTiernumber;
    //楼栋位置
    private String buildingAddress;
    //楼栋房间数量
    private Integer buildingRoomnumber;
    //楼栋类型
    private String buildingType;

    private List<PlaceFloorVo> children = new ArrayList<>();
}
